package org.example.erp.web.VO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.erp.domain.SysPost;
import org.example.erp.domain.SysRole;
import org.example.erp.domain.SysUser;
import java.util.List;
@Data
@AllArgsConstructor
public class UserPostsRolesVO {
    private SysUser sysUser;
    private List<SysPost> postIds;
    private List<SysRole> roleIds;
    private List<Integer> ownPostIds;
    private List<Integer> ownRoleIds;
    public UserPostsRolesVO(){}
    public UserPostsRolesVO(List<SysPost> postIds,List<SysRole> roleIds){
        this.postIds = postIds;
        this.roleIds = roleIds;
    }
}
